//
//  DiscoverHelper.h
//  Router
//
//  Created by teki on 15/10/26.
//  Copyright © 2015年 dc. All rights reserved.
//

#import "BaseHelper.h"

/// 发现
@interface DiscoverHelper : BaseHelper

/**
 *  发现WIFI
 *
 *  @param success <#success description#>
 *  @param failure <#failure description#>
 */
- (void)discoverWIFISuccess:(RequestSussess)success
                    failure:(RequestFailure)failure;



/**
 *  获取指定WIFI绑定的设备
 *
 *  @param deviceID wifi设备id
 *  @param success  <#success description#>
 *  @param failure  <#failure description#>
 */
- (void)getWIFIBindDeviceWithDeviceID:(NSString *)deviceID
                              success:(RequestSussess)success
                              failure:(RequestFailure)failure;



/**
 *  设置PPPOE
 *
 *  @param pppoeName     <#pppoeName description#>
 *  @param pppoePassword <#pppoePassword description#>
 *  @param success       <#success description#>
 *  @param failure       <#failure description#>
 */
- (void)checkBroadBandConfigWithPPPOEName:(NSString *)pppoeName
                            pppoePassword:(NSString *)pppoePassword
                                  success:(RequestSussess)success
                                  failure:(RequestFailure)failure;

/**
 *  设置静态IP
 *
 *  @param IPaddr        IP地址
 *  @param mask          掩码
 *  @param gatewayAddr   网关
 *  @param DNS           DNS
 *  @param DNSBackupAddr 备用DNS
 *  @param success       <#success description#>
 *  @param failure       <#failure description#>
 */
- (void)checkIPConfigWithIPaddress:(NSString *)IPaddr
                              mask:(NSString *)mask
                       gatewayaddr:(NSString *)gatewayAddr
                        dnsaddress:(NSString *)DNS
                     dnsbakaddress:(NSString *)DNSBackupAddr
                           success:(RequestSussess)success
                           failure:(RequestFailure)failure;



/**
 *  绑定用户和设备
 *
 *  @param deviceID <#deviceID description#>
 *  @param user     <#user description#>
 *  @param SSID     <#SSID description#>
 *  @param success  <#success description#>
 *  @param failure  <#failure description#>
 */
- (void)bindUserAndDeviceWithDeviceID:(NSString *)deviceID
                                 User:(NSString *)user
                                 SSID:(NSString *)SSID
                              success:(RequestSussess)success
                              failure:(RequestFailure)failure;
@end
